home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / update-notifier.postinst < prev    next >
Encoding:
Text File  |  2007-04-10  |  754 b   |  25 lines

  1. #!/bin/sh
  2.  
  3. STAMP=/var/lib/update-notifier/dpkg-run-stamp
  4.  
  5. if [ ! -f $STAMP ]; then
  6.     touch $STAMP
  7. fi
  8.  
  9. # Automatically added by dh_iconcache
  10. touch -m /usr/share/icons/hicolor
  11. if [ "$1" = configure ] && \
  12.    [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
  13.    [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
  14.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
  15.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
  16.     gtk-update-icon-cache -q /usr/share/icons/hicolor
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_gconf
  20. if [ "$1" = "configure" ]; then
  21.     gconf-schemas --register update-notifier.schemas 
  22. fi
  23. # End automatically added section
  24.  
  25.